﻿using FHJFPro.Enum;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities.Auditing;

namespace FHJFPro
{
  public  class UserInfo : FullAuditedAggregateRoot<Guid>
    {
      
        [MaxLength(128)]
        public string UserName { get; set; }
        [MaxLength(128)]
        public string Password { get; set; }
        public GenderEnum Gender { get; set; }
        [MaxLength(512)]
        public string Description { get; set; }
        public UserInfo()
        {

        }
        internal UserInfo(Guid id, string userName, string passWord, GenderEnum genderEnum, string description) : base(id)
        {
            UserName = userName;
            Password = passWord;
            Gender = genderEnum;
            Description = description;
        }
    }
}
